<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.EditScrumteamTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="sctedmessagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputLabel value="#{bundle.EditScrumteamLabel_scrumteamid}" for="scrumteamid" />
                    <h:inputText id="scrumteamid" value="#{scrumteamController.selected.scrumteamid}" title="#{bundle.EditScrumteamTitle_scrumteamid}" required="true" requiredMessage="#{bundle.EditScrumteamRequiredMessage_scrumteamid}"/>
                    <h:outputLabel value="#{bundle.EditScrumteamLabel_scrumprojektid}" for="scrumprojektid" />
                    <h:inputText id="scrumprojektid" value="#{scrumteamController.selected.scrumprojektid}" title="#{bundle.EditScrumteamTitle_scrumprojektid}" />
                    <h:outputLabel value="#{bundle.EditScrumteamLabel_scrumteambezeichnung}" for="scrumteambezeichnung" />
                    <h:inputText id="scrumteambezeichnung" value="#{scrumteamController.selected.scrumteambezeichnung}" title="#{bundle.EditScrumteamTitle_scrumteambezeichnung}" />
                    <h:outputLabel value="#{bundle.EditScrumteamLabel_scrumteambeschreibung}" for="scrumteambeschreibung" />
                    <h:inputText id="scrumteambeschreibung" value="#{scrumteamController.selected.scrumteambeschreibung}" title="#{bundle.EditScrumteamTitle_scrumteambeschreibung}" />
                </h:panelGrid>
                <h:commandLink action="#{scrumteamController.update}" value="#{bundle.EditScrumteamSaveLink}"/>
                <br />
                <br />
                <h:commandLink action="View" value="#{bundle.EditScrumteamViewLink}" immediate="true"/>
                <br />
                <h:commandLink action="#{scrumteamController.prepareList}" value="#{bundle.EditScrumteamShowAllLink}" immediate="true"/>
                <br />
                <br />
                <h:commandLink value="#{bundle.EditScrumteamIndexLink}" action="/index" immediate="true" />
            </h:form>
        </ui:define>
    </ui:composition>

</html>
